package io.github.lee.repository.qb.api

import io.github.lee.repository.qb.di.http.HttpModule


object ApiModule {
    private val retrofit
        get() = HttpModule.provideRetrofit(HttpModule.provideOkHttp())


    fun authApi(): AuthApi =
        retrofit.create(AuthApi::class.java)

    val syncApi: SyncApi
        get() = retrofit.create(SyncApi::class.java)

    val systemApi: SystemApi
        get() = retrofit.create(SystemApi::class.java)

}